package com.prs.crm.dao.oa.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.oa.KnowledgeTypeDao;
import com.prs.crm.domain.oa.KnowledgeType;


public class KnowledgeTypeDaoImpl extends BaseDaoImpl<KnowledgeType> implements KnowledgeTypeDao{

	@Override
	public List<KnowledgeType> getAllKnowledgeType() {
		Criteria criteria = this.getSession().createCriteria(KnowledgeType.class);
		return criteria.list();
	}

}
